package com.hc.weather.domain;

//此类对应天气接口的数据

import java.io.Serializable;

public class WeatherResponse implements Serializable {
    private Integer code;
    private String msg;
    private WeatherResult   result;

    @Override
    public String toString() {
        return "WeatherResponse{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", result=" + result +
                '}';
    }

    public WeatherResponse(){

    }

    public WeatherResponse(Integer code, String msg, WeatherResult result) {
        this.code = code;
        this.msg = msg;
        this.result = result;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public WeatherResult getResult() {
        return result;
    }

    public void setResult(WeatherResult result) {
        this.result = result;
    }
}
